﻿using AutoMapper;
using Sheep_Breeding.Domain.production_a;
using Sheep_Breeding.Read.Api.Dtos;

namespace Sheep_Breeding.Read.Api.Common
{
    public class MapperingProfil : Profile
    {
        public MapperingProfil()
        {
            // 添加母羊配种列表映射
            CreateMap<Ewe_mating, EweMatingListDto>();
            CreateMap<Ewe_mating_details, EweMatingListDto>();
            
            // ... 保留其他已有映射配置 ...
        }
    }
}
